﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyBookReadsList.Models;
using System.Runtime.Serialization;

namespace MyBookReadsList.Models
{
    [DataContract]
    public class Comment
    {
        [DataMember(Name = "bookId")]
        public int BookId { get; set; }
        [DataMember(Name = "info")]
        public string Info { get; set; }
        [DataMember(Name = "title")]
        public string Title { get; set; }
        [DataMember(Name = "username")]
        public string Username { get; set; }
    }
}
